package com.bwhx.eruler.service;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;

import com.bwhx.eruler.bean.Page;
import com.bwhx.eruler.bean.Staff;

public interface StaffService {
	
	public List<Staff> find(Staff staff);
	public Staff get(Serializable id);
	public void insert(Staff staff);
	public void update(Staff staff);
	public void delete(Serializable id);
	public void delete(Serializable[] ids);
	public List<Staff> findByName(String staff);
	public int insertSN();
	public void inputStaff(Staff s);
	public List<Staff> list(Page p);
	public Integer count(Staff s);
	public Staff login(String username, String pwd);
	public List<Staff> listAll();
	public Staff findByLoginName(String getsLoginName);
	public void updatestaffAuthorization(HashMap<String, Object> paramMap);
	public void del(String sId);
	public void changePwd(Staff staff);
	public void changePwdByPhone(Staff staff);
	public Staff findByPhone(String getsPhone);
	public String getName(String uploaderID);

}
